package com.frank.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author Frank
 */
@Data
@Accessors(chain = true)
@TableName("item")
public class Item extends BasePojo{
    /**主键自增*/
    @TableId(type = IdType.AUTO)
    /**商品Id号*/
    private Integer id;
    /**商品标题信息*/
    private String title;
    /**卖点信息*/
    private String sellPoint;
    /**商品价格*/
    private Integer price;
    /**商品数量*/
    private Integer num;
    /**商品图片*/
    private String images;
    /**商品分类ID号*/
    private Integer itemCatId;
    /**状态信息    0 下架 1 上架*/
    private Boolean status;
}
